package com.meida.paotui.bus.client.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.meida.common.mybatis.annotation.TableAlias;
import com.meida.common.mybatis.base.entity.AbstractEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 
 *
 * @author flyme
 * @date 2019-11-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_busztime")
@TableAlias("busztime")
@ApiModel(value="BusBusztime对象", description="")
public class BusBusztime extends AbstractEntity {

private static final long serialVersionUID=1L;
    @ApiModelProperty(value = "主键")
    @TableId(value = "busId", type = IdType.ID_WORKER)
    private Long busId;
    @ApiModelProperty(value = "类型")
    private String type;
    @ApiModelProperty(value = "高峰期开始时间")
    private Date startTime;
    @ApiModelProperty(value = "高峰期结束时间")
    private Date endTime;
    @ApiModelProperty(value = "高峰期加价运费")
    private BigDecimal timeMoney;

}
